const {
	VITE_PROXY_URL,
	VITE_BASE_URL,
} = import.meta.env
// #ifdef H5
const BASE_URL = VITE_PROXY_URL || VITE_BASE_URL
// #endif

// #ifndef H5
const BASE_URL = VITE_BASE_URL
// #endif

const API = {
	login:"/api/client/wechat/mini/openid",
	userInfo:"/api/client/user/info",
	getPhoneNumber:"/api/client/user/get/phone/number",
	ranking:"/api/client/user/points/ranking",
	questionBank:"/api/client/question/bank",
	questionSubmit:"/api/client/question/submit",
	questionStats:"/api/client/question/stats",
	notAnswer:"/api/client/question/not/answer",
	questionLog:"/api/client/question/log",
	questionExam:"/api/client/question/exam",
	examDetail:"/api/client/question/exam/log/detail",
	examLog:"/api/client/question/exam/log",
	removeSettings:"/api/client/question/error/remove/settings",
	trainDays:"/api/client/question/user/train/days",
	collection:"/api/client/question/collection/",
	userCollection:"/api/client/question/user/collection",
	userModify:"/api/client/user/modify",
	userFeedback:"/api/client/user/feedback"
}

export {
	VITE_PROXY_URL,
	VITE_BASE_URL,
    BASE_URL,
    API,
};
